package com.ruoyi.crayon.common.enums;

/**
 * 业务组件状态
 * @author: jzlin2
 * @time: 2023/10/11
 */
public enum BizStatus {
    STOP("0", "停用"), RUNNING("1", "运行中"), PROCESS("2", "处理中"), ERROR("3", "异常");

    private final String code;
    private final String info;

    BizStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
